<?php
$this->lang->load('template');
//$this->lang->load('validation');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0048)http://www.fav365.com/ball/?m=admin&c=good&a=add -->
<HTML>
<HEAD>
<TITLE></TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<LINK 
href="/css/admin.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.3395" name=GENERATOR>
<STYLE type=text/css>
.STYLE1 {
	COLOR: #ff0000
}
</STYLE>
</HEAD>
<BODY>
<DIV class=admin_box>
  <DIV class=admin_boxtop></DIV>
  <div class=admin_boxmain>
    <?php
		$rs = $res['resultset'][0];
	?>
    <?=form_open('guestbooks/edit');?>
    <input type="hidden" value="<?=intval($rs['id'])?>" name="id" />
    <table cellspacing=0 cellpadding=0 width="96%" align=center border=0>
      <tbody>
        <tr>
          <td><h1>回复留言</h1></td>
        </tr>
      </tbody>
    </table>
    <table class=table cellspacing=1 cellpadding=5 width="96%" align=center 
border=0>
      <tbody>
        <tr>
          <td class="tdbg bold" width="24%"><div align=right><?=$this->lang->line('tpl_gb_topic')?></div></td>
          <td><strong><?=$rs['topic']?></strong></td>
        </tr>

        <tr>
          <td class="tdbg bold" width="24%"><div align=right><?=$this->lang->line('tpl_gb_content')?></div></td>
          <td><?=$rs['content']?></td>
        </tr>
        <tr>
          <td class="tdbg bold" width="24%"><div align=right><?=$this->lang->line('tpl_gb_author')?></div></td>
          <td><?=$rs['guest_name']?></td>
        </tr>
        <tr>
          <td class="tdbg bold" width="24%"><div align=right><?=$this->lang->line('tpl_email')?></div></td>
          <td><?=$rs['guest_email']?></td>
        </tr>
        <tr>
          <td class="tdbg bold" width="24%"><div align=right><?=$this->lang->line('tpl_create_on')?></div></td>
          <td><?=$rs['create_on']?></td>
        </tr>
         <tr>
          <td class="tdbg bold"><div align=right>联系方式</div></td>
          <td>
          	<?php echo $rs['contact'];?>
          </td>
        </tr>
        <tr>
          <td class="tdbg bold"><div align=right><?=$this->lang->line('tpl_yes')?><?=$this->lang->line('tpl_no')?>已回复</div></td>
          <td><select name="is_shown">
              <option value="0"<?php if($rs['is_replay']==0):?> selected="selected"<?php endif;?>><?=$this->lang->line('tpl_no')?></option>
              <option value="1"<?php if($rs['is_replay']==1):?> selected="selected"<?php endif;?>><?=$this->lang->line('tpl_yes')?></option>
            </select>
          </td>
        </tr>
        </tr>
        <tr>
          <td colspan=2><div align=center>
              <input class=btn type=submit value="<?=$this->lang->line('tpl_submit');?>" name=Submit>
              <input class=btn onClick=history.back(-1) type=button value="<?=$this->lang->line('tpl_returnback');?>">
          </div></td>
        </tr>
      </tbody>
    </table>
  </div>
  <DIV class=admin_boxbottom></DIV>
</DIV>
</BODY>
</HTML>
